//quick and dirty calc to add two doubles
import java.util.Scanner;

public class BasicCalculator {
	@SuppressWarnings("resource")
	public static void main(String args[]){
		Scanner bucky = new Scanner(System.in);
		double fnum, snum, answer;
		System.out.println("Enter first num: ");
		//nextDouble is method enter speific data type
		fnum = bucky.nextDouble();
		System.out.println("Enter second num: ");
		snum = bucky.nextDouble();
		answer = fnum + snum;
		System.out.println(answer);
	}
}
